package cn.yangliu.nacos.consumer.feign;

import cn.yangliu.nacos.consumer.feign.hystrix.ProviderFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author 问道于盲
 * @date 2019-08-18
 */
@FeignClient(name = "provider", fallback = ProviderFallback.class)
public interface Provider {

    @GetMapping("/test")
    Object test();
}
